<?php
namespace app\common\validate;

use think\Validate;

class FormFieldValidate extends Validate
{
    // 验证规则
    protected $rule = [
        'form_id|表单'       => 'require',
        'field_title|字段标题' => 'require',
        'field_name|字段名'   => 'require|alphaDash',
        'field_type'       => 'require',
    ];
}